from odoo import api, fields, models, _
import logging
from odoo.exceptions import UserError

logger = logging.getLogger(__name__)


class Feedback_Chat(models.Model):
    _name = 'feedback.chat'
    _description = 'user_info'

    name = fields.Char(
        '反馈约谈详情',
        default='反馈约谈详情'
    )
    vaccine_organization = fields.Many2one(
        'vaccine.organization',
        string='约谈接种点',
        required=True
    )
    schedule_date = fields.Datetime('约定时间', required=True)
    duration = fields.Float('持续时间', default=1.5)
